package com.daoliuhe.scaffold.model;

import java.io.Serializable;

public class Email implements Serializable {
	
	private static final long serialVersionUID = 4140341042085926132L;
	
	public Email(){}

	public Email(String toAddrs, String ccAddrs, String title, String content, boolean html) {
		super();
		this.toAddrs = toAddrs;
		this.ccAddrs = ccAddrs;
		this.title = title;
		this.content = content;
		this.html = html;
	}

	/**
	 * 收件人邮箱
	 */
	private String toAddrs;
	
	/**
	 * 抄送人邮箱
	 */
	private String ccAddrs;
	
	/**
	 * 邮件标题
	 */
	private String title;  

	/**
	 * 邮件内容 
	 */
	private String content;
	
	private boolean html;

	public String getToAddrs() {
		return toAddrs;
	}

	public void setToAddrs(String toAddrs) {
		this.toAddrs = toAddrs;
	}

	public String getCcAddrs() {
		return ccAddrs;
	}

	public void setCcAddrs(String ccAddrs) {
		this.ccAddrs = ccAddrs;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public boolean isHtml() {
		return html;
	}

	public void setHtml(boolean html) {
		this.html = html;
	}

	@Override
	public String toString() {
		return "Email [toAddrs=" + toAddrs + ", ccAddrs=" + ccAddrs + ", title=" + title + ", content=" + content
				+ ", html=" + html + "]";
	}  
    
	
}
